<link rel="stylesheet" href="../assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="../assets/css/scrollbar.css">
<form method="POST" class="form-horizontal">
    <div class="form-group">
        <label for="name">文章标题</label>
        <input required type="text" class="form-control" id="name" placeholder="商品名称">
    </div>
    <div class="form-group">
        <label for="cover">文章封面</label>
        <input required type="file" class="form-control" id="cover">
    </div>

    <div class="form-group">
        <label for="sales-volumn">点击量</label>

        <select required name="sales_volumn" id="sales-volumn" class="form-control">
            <option value="999">999</option>
            <option value="999">9999</option>
            <option value="999">99999</option>
            <option value="999">999999</option>
        </select>

    </div>

    <div class="form-group">
        <label for="description">文章简介</label>
        <input required type="text" class="form-control" id="description" placeholder="商品描述">
    </div>
    
    <div class="form-group">
        <label for="category">文章分类</label>
        <select required name="category" id="brand" class="form-control">
            <option value="">-- 请选择 --</option>
            <option value="娱乐八卦">娱乐八卦</option>
            <option value="科技新闻">科技</option>
            <option value="军事">军事</option>
        </select>
    </div>
    <div class="form-group">
        <label for="introduce">文章内容</label>
        <script id="introduce" type="text/plain" style="width:100%;height:300px;"></script>
        <!-- <textarea required class="form-control" name="introduce" cols="30" rows="10" placeholder="商品详情"></textarea> -->
    </div>
    <button type="submit" class="btn btn-lg btn-block btn-primary">立即提交</button>
</form>
<script src="../assets/js/jquery.js"></script>
<script src="../assets/bootstrap/js/bootstrap.min.js"></script>
<!-- ueditor -->
<script type="text/javascript" charset="utf-8" src="../plugins/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="../plugins/ueditor/ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="../plugins/ueditor/lang/zh-cn/zh-cn.js"></script>
<!-- ueditor -->
<script>
    $(function () {
         // 实例化ueditor
         var ue = UE.getEditor('introduce');
    });
</script>